Graphic Layer Schema
FEATURE Element
See Also  Send comments on this topic.
Graphic Layer Schema : FEATURE Element

Glossary Item Box

Description

Defines a feature in a graphics layer file (*.apg).

Diagram

TEXT Element SYMBOL Element GEOMETRY Element Sequence FEATURE Element

Overview

FEATURE
Defines a feature in a graphics layer file (*.apg).
Sequence
GEOMETRY
Defines the geometry of a feature.
SYMBOL
Parent tag for symbology.
TEXT
The text to display for the graphic.

Remarks

  • If SYMBOL element is not present or contains no child tags, no symbol is drawn (that is, a text only graphic is drawn).
  • If TEXT element is not present or contains no text attribute, no text is drawn (that is, a feature only graphic is drawn).
  • If both SYMBOL and TEXT elements are not present, the feature will br drawn using the default symbology for that feature type.

Examples

Source

<xs:element name="FEATURE" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Defines a feature in a graphics layer file (*.apg).</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="apg:GEOMETRY" />
      <xs:element ref="apg:SYMBOL" />
      <xs:element ref="apg:TEXT">
        <xs:annotation>
          <xs:documentation />
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.